package com.secsbrain.development.web.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.secsbrain.development.biz.constant.UserType;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class UserInfoDTO implements Serializable {
    /**
	 */
	private static final long serialVersionUID = -6155076316106800061L;
	private Long id;
    private String name;
    private String loginName;
    private String phone;
    private UserType userType;
    private String organization;
    private List<Long> envIds;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createDate;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getLoginName() {
		return loginName;
	}
	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public UserType getUserType() {
		return userType;
	}
	public void setUserType(UserType userType) {
		this.userType = userType;
	}
	public String getOrganization() {
		return organization;
	}
	public void setOrganization(String organization) {
		this.organization = organization;
	}
	public List<Long> getEnvIds() {
		return envIds;
	}
	public void setEnvIds(List<Long> envIds) {
		this.envIds = envIds;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
    
}
